package com.hnu.model;



/**
 * Bookmarksimilarity entity. @author MyEclipse Persistence Tools
 */

public class Bookmarksimilarity  implements java.io.Serializable {


    // Fields    

     private Long similarityId;
     private Bookmark bookmarkByBookmarkId1;
     private Bookmark bookmarkByBookmarkId2;
     private Double similarity;


    // Constructors

    /** default constructor */
    public Bookmarksimilarity() {
    }

    
    /** full constructor */
    public Bookmarksimilarity(Bookmark bookmarkByBookmarkId1, Bookmark bookmarkByBookmarkId2, Double similarity) {
        this.bookmarkByBookmarkId1 = bookmarkByBookmarkId1;
        this.bookmarkByBookmarkId2 = bookmarkByBookmarkId2;
        this.similarity = similarity;
    }

   
    // Property accessors

    public Long getSimilarityId() {
        return this.similarityId;
    }
    
    public void setSimilarityId(Long similarityId) {
        this.similarityId = similarityId;
    }

    public Bookmark getBookmarkByBookmarkId1() {
        return this.bookmarkByBookmarkId1;
    }
    
    public void setBookmarkByBookmarkId1(Bookmark bookmarkByBookmarkId1) {
        this.bookmarkByBookmarkId1 = bookmarkByBookmarkId1;
    }

    public Bookmark getBookmarkByBookmarkId2() {
        return this.bookmarkByBookmarkId2;
    }
    
    public void setBookmarkByBookmarkId2(Bookmark bookmarkByBookmarkId2) {
        this.bookmarkByBookmarkId2 = bookmarkByBookmarkId2;
    }

    public Double getSimilarity() {
        return this.similarity;
    }
    
    public void setSimilarity(Double similarity) {
        this.similarity = similarity;
    }
   








}